package d13_tz.d3_transfer_thread;

public class MyThread extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(getName() + "@" + i);

            //表示出让当前CPU的执行权------------>只是尽可能让结果均匀一点
            Thread.yield();
        }
    }
}
